.chat {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--mana-input-background);
  box-sizing: border-box;

  &-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 12px;

    &-list {
      overflow-y: auto;
      height: calc(100% - 84px);
      padding: 12px 0 48px;
      scrollbar-width: none; /* Firefox */
      ::-webkit-scrollbar {
        display: none; /* Chrome Safari */
      }

      &-to-bottom {
        bottom: 120px;
        position: absolute;
      }
    }

    &-input {
      width: 100%;
      position: relative;
      background-color: var(--mana-color-bg-container);
      padding-top: 4px;

      &-mask {
        height: 48px;
        pointer-events: none;
        position: absolute;
        top: -48px;
        width: 100%;
        z-index: 5;
        background: linear-gradient(
          180deg,
          hsla(0%, 0%, 100%, 0%) 0,
          var(--mana-editor-background, #fff) 100%
        );
      }

      &-main {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0 24px;

        &-clear {
          border: none;
        }
      }
    }
  }

  &-footer {
    background-color: var(--mana-color-bg-container);
    color: rgba(29, 28, 35, 35%);
    font-weight: 400;
    line-height: 16px;
    padding: 8px 24px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
}
